home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 5783 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: rcp6.elan.af.mil!rscernix!danpop
  2. From: danpop@mail.cern.ch (Dan Pop)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Leap Years
  5. Date: 21 Feb 96 01:05:59 GMT
  6. Organization: CERN European Lab for Particle Physics
  7. Message-ID: <danpop.824864759@rscernix>
  8. References: <8BA8405.02C70020E1.uuout@sourcebbs.com> <4fsk14$jo2@kocrsv08.delcoelect.com> <3121EF9A.CA5@mail.isd.net> <4g28ut$p87@taurus.fccc.edu> <fcusack-1602961256070001@mudskipper.cac.psu.edu> <4gdp4e$9go@maureen.teleport.com>
  9. NNTP-Posting-Host: ues5.cern.ch
  10. X-Newsreader: NN version 6.5.0 #7 (NOV)
  11.  
  12. In <4gdp4e$9go@maureen.teleport.com> GHouck <hksys@teleport.com> writes:
  13.  
  14. >I didn't quite see the rule I've known to exist for Leap Years:
  15. >
  16. >  Lyear = year/4 (yes) except year/100 (no) except year/1000 (yes)
  17.  
  18. And for a very good reason: your rule is broken.  Replace 1000 by 400
  19. to get the correct one. 
  20.  
  21. How about reading the FAQ of the newsgroup before posting nonsense?
  22.  
  23. Dan
  24. --
  25. Dan Pop
  26. CERN, CN Division
  27. Email: danpop@mail.cern.ch 
  28. Mail:  CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
  29.